<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <title>Stock</title>
</head>

<body>
  <div id="app"></div>
</body>

<script>
    let clientWidth = document.body.clientWidth
    if (clientWidth < 1000) {
        document.body.style.backgroundColor='#1e2024'
    } else {
        document.body.style.backgroundColor='#fff'

    }
</script>

</html>
